package com.elai.operate.service;

import java.util.List;
import com.elai.operate.domain.OperateEquityDO;

/**
 * 权益绑定Service接口
 *
 * @author elai
 * @date 2021-04-04
 */
public interface OperateEquityService
{
    /**
     * 查询权益绑定
     *
     * @param id 权益绑定ID
     * @return 权益绑定
     */
    OperateEquityDO selectOperateEquityById(Long id);

    /**
     * 查询权益绑定列表
     *
     * @param operateEquity 权益绑定
     * @return 权益绑定集合
     */
    List<OperateEquityDO> selectOperateEquityList(OperateEquityDO operateEquity);

    /**
     * 新增权益绑定
     *
     * @param operateEquity 权益绑定
     * @return 结果
     */
    int insertOperateEquity(OperateEquityDO operateEquity);

    /**
     * 修改权益绑定
     *
     * @param operateEquity 权益绑定
     * @return 结果
     */
    int updateOperateEquity(OperateEquityDO operateEquity);

    /**
     * 批量删除权益绑定
     *
     * @param ids 需要删除的权益绑定ID
     * @return 结果
     */
    int deleteOperateEquityByIds(Long[] ids);

    /**
     * 删除权益绑定信息
     *
     * @param id 权益绑定ID
     * @return 结果
     */
    int deleteOperateEquityById(Long id);
}
